home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- repeat while the stillDown = 1
- set the locH of sprite 20 to the mouseH
- set the locV of sprite 20 to the mouseV
- if rollOver(9) then
- set the castNum of sprite 9 to the number of member "quitdown"
- else
- set the castNum of sprite 9 to the number of member "quitbox"
- end if
- updateStage()
- end repeat
- end
-
- on mouseUp
- if rollOver(9) then
- puppetSprite(20, 0)
- set the castNum of sprite 9 to the number of member "quithot"
- updateStage()
- startTimer()
- repeat while the timer < 30
- nothing()
- end repeat
- quit()
- else
- set the castNum of sprite 9 to the number of member "quitbox"
- updateStage()
- end if
- end
-